import request from '@/utils/request'

export function listCorp(data) {
  return request({
    url: '/api/base/corp/page',
    method: 'post',
    data
  })
}

export function addCorp(data) {
  return request({
    url: '/api/base/corp/save',
    method: 'post',
    data
  })
}

export function updateCorp(data) {
  return request({
    url: '/api/base/corp/update',
    method: 'post',
    data
  })
}

export function deleteCorp(data) {
  return request({
    url: '/api/base/corp/delete',
    method: 'post',
    data
  })
}

export function listCorpItem(data) {
  return request({
    url: '/api/base/corp/list_item',
    method: 'post',
    data
  })
}

